a new o(m + kn log d) algorithm to find the k shortest paths in acyclic digraphs

نویسندگان

mehdi kadivar

چکیده

we give an algorithm, called t*, for finding the k shortest simplepaths connecting a certain pair of nodes, s and t, in a acyclic digraph.first the nodes of the graph are labeled according to the topologicalordering. then for node i an ordered list of simple s − i paths iscreated. the length of the list is at most k and it is created by usingtournament trees. we prove the correctness of t* and show that itsworst-case complexity is o(m + kn log d) in which n is the number ofnodes and m is the number of arcs and d is the mean degree of thegraph. the algorithm has a space complexity of o(nk). an experimental evaluation of t*is presented which confirm the advantage of our algorithm comparedto the most efficient k shortest paths algorithms known so far.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A nonenumerative algorithm to find the k longest (shortest) paths in a DAG

In this paper, we present a novel and efficient algorithm to find the k longest (shortest) paths between sources and sinks in a directed acyclic graph (DAG). The algorithm does not enumerate paths therefore it is especially useful for very large k values. It is based on the Valued-Sum-of-Product (VSOP) tool, which is an extension of Zero-suppressed Binary Decision Diagrams (ZBDDs). We assessed ...

متن کامل

A polynomial-time algorithm to find shortest paths with recourse

The Shortest Path with Recourse Problem involves finding the shortest expected-length paths in a directed network each of whose arcs have stochastic traversal lengths (or delays) that become known only upon arrival at the tail of that arc. The traveler starts at a given source node, and makes routing decisions at each node in such a way that the expected distance to a given sink node is minimiz...

متن کامل

A new bidirectional algorithm for shortest paths

For finding a shortest path in a network the bidirectional A* algorithm is a widely known algorithm. An A* instance requires a heuristic estimate, a real-valued function on the set of nodes. The version of bidirectional A* that is considered the most appropriate in literature hitherto, uses so-called balanced heuristic estimates. This means that the two estimates of the two directions are in ba...

متن کامل

Shortest Paths in Nearly Conservative Digraphs

We introduce the following notion: a digraph D = (V,A) with arc weights c : A → R is called nearly conservative if every negative cycle consists of two arcs. Computing shortest paths in nearly conservative digraphs is NP-hard, and even deciding whether a digraph is nearly conservative is coNP-complete. We show that the “All Pairs Shortest Path” problem is fixed parameter tractable with various ...

متن کامل

Shortest paths in almost acyclic graphs

This paper presents an algorithm for the shortest-path problem on a directed graph having arbitrary arc weights. One feature of the algorithm is its ability to exploit a certain type of structure. Two examples of this feature are highlighted. The rst example is when the given graph is “almost” acyclic in the sense that there exists a small subset T of nodes, the deletion of which yields an acyc...

متن کامل

A Fast Algorithm to Find All-Pairs Shortest Paths in Complex Networks

Finding shortest paths is a fundamental problem in graph theory, which has a large amount of applications in many areas like computer science, operations research, network routing and network analysis. Although many exact and approximate algorithms have been proposed, it is still a time-consuming task to calculate shortest paths for large-scale networks with tremendous volume of data available ...

متن کامل

منابع من

با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید


عنوان ژورنال:
transactions on combinatorics

ناشر: university of isfahan

ISSN 2251-8657

دوره

شماره Articles in Press 2016

میزبانی شده توسط پلتفرم ابری doprax.com

copyright © 2015-2023